package com.ruoyi.common.utils.mobile.weixin;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 功能：
 *
 * @author：Administrator
 * @create：2019/6/12/012 15:27
 * @version：2019 Version：1.0
 * @company：老屋新房 Created with IntelliJ IDEA
 */
@Component("weixinCfg")
public class WeixinConfig {

	// 第三方用户唯一凭证
	private String appId = "wx0ba71ba3d76f2486";
	// 第三方用户唯一凭证密钥
	private String appsecret = "fd506a1677a768386baf7a99eb28d5e7";
	// 商户 Id
	private String mch_id = "1604975906";
	// Token
	private String token = "Token";
	@Value("${haoqi.wx.notifyurl}")
	private String notify_url = "https://www.haoqimart.com/api/order/result";
	@Value("${haoqi.wx.refuseurl}")
	private String refuse_notify_url = "https://www.haoqimart.com/system/refuse/result";
	@Value("${haoqi.wx.vipurl}")
	private String vip_notify_url = "https://www.haoqimart.com/api/vip/result";
//	@Value("${baisi.wx.msg.template.addFuns}")
//	private String addFansTemplate;
//	@Value("${baisi.wx.msg.template.sendSuc}")
//	private String sendSucTemplate;


	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppsecret() {
		return appsecret;
	}

	public void setAppsecret(String appsecret) {
		this.appsecret = appsecret;
	}

	public String getMch_id() {
		return mch_id;
	}

	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}

//	public String getAddFansTemplate() {
//		return addFansTemplate;
//	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

//	public String getSendSucTemplate() {
//		return sendSucTemplate;
//	}


	public String getNotify_url() {
		return notify_url;
	}

	public String getRefuse_notify_url() {
		return refuse_notify_url;
	}

	public String getVip_notify_url() {
		return vip_notify_url;
	}
}
